﻿using MediatR;
using PMS.Domain.AggregatesModel.ProjectAggregate;
using System;
using System.Collections.Generic;
using System.Text;

namespace PMS.Domain.Events
{
   public class ProjectStatusChangedToExcuteDomainEvent:INotification
    {
        /// <summary>
        /// 被通知人
        /// </summary>
        public int UserId { get; set; }

        public int ProjectId { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 项目描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 项目开始时间
        /// </summary>
        public DateTime StartTime { get; set; }


        /// <summary>
        /// 项目计划结束时间
        /// </summary>
        public DateTime PlanEndTime { get; set; }


        /// <summary>
        /// 项目清单
        /// </summary>
        public List<ProjectConsumable> ProjectConsumablies { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Message { get; set; }
    }
}
